package com.ld.manageBook.service;

import com.ld.manageBook.bean.User;

import java.util.List;

public interface UserService {
	public User getUserByNameAndPsw(String name, String password);
	public List<User> getAllUsers();
	public int deleteUserById(Integer id);
	public User getUserById(Integer id);
	public int changeUserById(User user);
	public int addUser(User user);
	public User getUserByName(String name);
}
